graph piecewise function with discontinuity